home *** CD-ROM | disk | FTP | other *** search
- //CGVER1.8
- vs_1_1
- // DX9 Vertex shader generated by NVIDIA Cg compiler
- // cgc version 1.1.0003, build date Jul 7 2003 11:55:19
- // command line args: -q -profile vs_1_1 -entry main -profileopts dcls
- // nv30vp backend compiling 'main' program
- //vendor NVIDIA Corporation
- //version 1.0.02
- //profile vs_1_1
- //program main
- //semantic main.ModelViewProj : C0
- //semantic main.Offset
- //semantic main.ClipPlane : C14
- //semantic main.g_VSCONST_0_025_05_1 : C28
- //var float4 IN.Position : $vin.POSITION : POSITION : 0 : 1
- //var float3 IN.Tangent : $vin.TEXCOORD2 : TEXCOORD2 : 0 : 1
- //var float3 IN.Binormal : $vin.TEXCOORD3 : TEXCOORD3 : 0 : 1
- //var float3 IN.TNormal : $vin.BLENDWEIGHT : BLENDWEIGHT : 0 : 1
- //var float4x4 ModelViewProj : C0 : c[0], 4 : 1 : 1
- //var float4 Offset : : c[4] : 2 : 1
- //var float4 ClipPlane : C14 : c[14] : 3 : 1
- //var float4 g_VSCONST_0_025_05_1 : C28 : c[28] : 4 : 1
- //var float4 Tex3 : $vout.TEXCOORD3 : TEXCOORD3 : -1 : 1
- //var float4 HPosition : $vout.POSITION : POSITION : -1 : 1
- //var float4 Tex0 : $vout.TEXCOORD0 : TEXCOORD0 : -1 : 1
- dcl_blendweight v1
- dcl_texcoord3 v10
- dcl_texcoord2 v9
- dcl_position v0
- mov r1, v0
- mad r1.xyz, v1.xyz, c4.x, r1.xyz
- dp4 oPos.x, c0, r1
- dp4 oPos.y, c1, r1
- dp4 r0.y, c2, r1
- mov oPos.z, r0.y
- dp4 r0.x, c3, r1
- mov oPos.w, r0.x
- rcp r0.x, r0.x
- mul r0.x, r0.y, r0.x
- mov oT0.xy, r0.x
- dp4 oT3.z, r1, c14
- mov oT3.xyw, r1.w
- // 13 instructions
- // 2 temp registers
- // End of program
-